package com.hmall.common.constants;

/**
 * @author Mr.M
 * @version 1.0
 * @description MQ常量配置
 * @date 2024/8/30 11:45
 */
public interface MqConstants {
    /**
     * 支付交换机名称
     */
    String PAY_EXCHANGE_NAME = "pay.direct";
    /**
     * 支付成功Key
     */
    String PAY_SUCCESS_KEY = "pay.success";
    /**
     * 支付成功队列
     */
    String PAY_SUCCESS_QUEUE = "pay.success.queue";
    /**
     * 死信交换机
     */
    String DELAY_EXCHANGE_NAME = "trade.delay.direct";
    /**
     * 死信队列
     */
    String DELAY_QUEUE = "trade.delay.queue";
    /**
     * 死信消息key
     */
    String DELAY_KEY = "trade.delay";
    /**
     * 订单支付交换机
     */
    String TRADE_EXCHANGE_NAME = "trade.pay.direct";
    /**
     * 订单支付队列
     */
    String TRADE_QUEUE = "trade.pay.queue";
}